CSS Tutorial

CSS full form is Cascading Style Sheets.

CSS is the language we use to design the HTML tags.

CSS (Cascading Style Sheets) is used to apply styles to web pages. 

  • CSS stands for Cascading Style Sheets. It is a style sheet language which is used to formatting of a HTML Elements which is written in markup language.
  • It is provide and extra feature in HTML for style or formatting the HTML Elements.
  • It is commonly used to change the style of the HTML elements with good user interface.
  • The CSS can also be used with any kind of XML documents including plain XML, SVG and XUL.

 

CSS Example

The below example show how HTML Elements design with the help of CSS.

<!DOCTYPE html>
<html>
<head>
<style>
body {
  background-color: aliceblue;
}

h1 {
  color: green;
  text-align: center;
}

p {
  font-family: verdana;
  font-size: 16px;
}
</style>
</head>
<body>

<h1>This is Heading</h1>
<p>This is paragraph.</p>

</body>
</html>
  Try it Yourself